package entity

import (
	"time"

	"shqsoft.cn/pasnj/base"
)

//V_INDI_LOAN_DIVI 个贷认定表
type VIndiLoanDivi struct {
	ID        int       `gorm:"AUTO_INCREMENT;primary_key;column:ID"`
	ACID      int       `gorm:"column:ACID"`
	EMID      int       `gorm:"column:EMID"`
	NAME      string    `gorm:"column:SysUserName"`
	DSVL      float64   `gorm:"column:DSVL"`
	DSDT      time.Time `gorm:"column:DSDT"`
	DSEM      string    `gorm:"column:DSEM"`
	WODT      time.Time `gorm:"column:WODT"`
	OrganName string    `gorm:"column:OrganName"`
	ISWO      bool      `gorm:"column:ISWO"`
	EMNO      string    `gorm:"column:SysUserID"`
}

//TableName V_INDI_LOAN_DIVI个贷认定表
func (VIndiLoanDivi) TableName() string {
	return "V_INDI_LOAN_DIVI"
}

func VIndiLoanDiviEF() base.EntityFunc {
	return func() interface{} {
		entity := VIndiLoanDivi{}
		return &entity
	}
}
func VIndiLoanDiviESF() base.EntitiesFunc {
	return func() interface{} {
		var entities []VIndiLoanDivi
		return &entities
	}
}

func init() {
	base.DaoPoolObj.Put("VIndiLoanDivi", base.NewDefaultDao(VIndiLoanDiviEF(), VIndiLoanDiviESF(), nil))
}
